Added basic input code