Added reference material for output
Added write_all() to specification