improving performance - create coordinate