added constellation reader code