added defaults for size params
fixed merged conflicts with default params