forgot about some code i had already