changed to match tutorial