Getting teh details field right