dumb question but is there a better way to do this?