moving class variable initialization to constructor