ending factory method implementation

adding resources too