refactoring

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>