simply parsing using cast