[@Stern Algorithm] Fixing it!! Edit: made a small fix, thanks for the heads up! :-)