added funct my/comp choice implemeted with html