Added additional input functions.