front and back working -- todo - testing and validation