add prototype details method