added coordinate functionality to models