basic preloading functionality
add loader