some codes for work