adding skip param
add print statement for skipping