removed dots, fixed some offset stuff