adding season parameter
fixing a little bug