Input parsing implemented