updates to loader