-Adding old code that was not commited because of git problem