I'm sure there's a better way to do this. Would love feedback.