changed forgotten temp member to 16-bit from 32