removed redundant function delcarations