added offset and new buttons