better name for check method