adds first pass at the spine implementation