picking key from environment