refactoring, partial functions are used more often now