trying to get the code right