Avoiding using statics