Added Input

Added input functionality