changed position of implementation snippet