pretty much overhaulled the plugin, I was building it for a specific layout that just wasn't meant to be