changed frequency and added started code for steady position