adding element at the beginning