player made gettex functions