started adding deviation stuff