Adding mock layer