Hack the Legend Framework (add basics)
add some funtions for basics