changed Player constructor