simplifying loading functions