fixed variables,  methods and repais prepare method