more concise solutions checking, syntax sugar