added compatibility with storyboards