Softcoding and refactoring