Not awesome. Is there a better way to do this?