trying to get loading to work