Moved technical stuff to CONTRACT