2nd commit

short cut bar and some calculate