chainning function
prepend, bug fix