Given code