Loader functionality added