added button and some code for left