still trying to get rid of the errors