added inner constructor