tries to fit it in with original coding