basic and not working Resource module