User blog:B1mb0w/Beta Function Code Version 1