resize working
added link and attributes functionalities
added custom functions support