solution by stc

solutions by stc