added skeleton of input functions