normed out most files still need to split functions accordingly still need to check for hidden norm errors