final version(without tablet)