added initializing constructor for eagle class