This is definitely not the right way to do this :)