not running correctly