added resources, more work on view