changed code to satisfy lint tool