SAMP UDF R16 - Refactoring by Peek