coord model
small refactoring