everything works good but code like  a bullshit