i need to find a better wat to do this