Added basic input functionality