small refactoring
Either functions