Improvement on accessing functions