items controller implementation