added spec and replaced start_spec cod ewith friend code