updated to using version 4 of tutorial