set up alternative way. not yet functioning properly