variou coding problems