added structure's functions