Basic structure and input added