FIX: Check input