added optional default to get method