Simplify input