make coordinate variables optional