added flexibility
added flexibility