corection all function , class its written in a type