added more code, doesn't break but doesn't fill spinner