added functionality to create a guide