adding simple code that takes average movie rating