Add loader
also tested lambda functions