accelorameter added(not working yet)