Move value to its own method