added pre loader