Trying to figure out why loader doesn't work