add refactored code and logic for story location already taken