Added a simple loading mechanism