added resources and completed reflection