my solution for volume