skeleton code, but i cant find where i went wrong with it the first time it seems to be working now