change two variable more suitable