Finally got this shit working