density plot added
minor changes