Using methods - a better way