add resources
remove debug output