little optimzings