modded create function