added ui and program logic defects