Finally answered that problem that bugged me for a while