add common method