- moved var initialization from header to constructor