still trying to fix cycle offset