This works, but it'll be replaced with better code

This is just a backup, should be overwritten soon