GPS feature added. WARNING: might break app