work on access functions and chain manipulation