trying to get it to work right