1. added typespeed in score variable