some completing code