Added function to abide DRY methodology in constructors