idea for implementing dot access