type
removed debug output
optimized spacing of resource requests