this is bad way to of it