not the right way to do this...