trying to fix performance issues...can't really find it