New: input-function