begin to implement detail module