removed debugging plot