corrected elsif to else in get(number)