jk as class was not working