implementing create slot