1st attempt of shake function

1st attempt of shake function