Rewrite sth for my requirements