refactor environment specific behaviour to a method