Another code and re refinment