Is this a valid way to do this?