fully implemented the ability to change resources