implemented dock
fully merged model-dock