moved alpha value calculation to inside of star constructor.