fix but
adding "add slide" function