finally got the damn loading to work