Edit constructor and stuff