messing aroung trying to sort out weird bugs