add loader prototype