Refactor function definitions