Added input students method