removed extraneous foundation call
playing with thin
removed array in local constants