Changed the constructor arguments order