Implements function chained call