implemented frame offsets