removing mtlPointer, and adding another version in next commit