unexported unnecessary functions from main file