Added inputBox method