started working on ref detail page