Code used on my diferent projects