some good code from my work and project