Some pieces of code