Changed mData type from float to int