My first version of ascelerometer