hacked for beignet...