Segfault Fixed(Assumption)