adding default size functionality