doesn't work right

probably needs to be in its own function to work properly