Checking whats going wrong where