offset is now calculated automatically, added enums to give nice dropdowns