In this paper, we introduce a new method to hide information in an image, the sequence of hiding message bits in the cover pixels and the number of bits used for hiding information are differ from one block to another and depend on the gray scale values of the pixels in the center of cover image blocks. The proposed system like all steganography system consists of two stages. The first stage used for hiding message by using two keys , the first one used for determining the sequence that will be used in hiding message pixels, while the second key used to select the number of least significant bits in the cover image that will be used in hiding information. The second stage used for extracting and retrieving message information and reconstruct the message image precisely.