removed debug puts and change strong parameters func names