clean context usage pattern