Simplifying the constructor