working on shared prefrences