added theme loader function